package com.yunfeisoft.business.service.impl;

import com.applet.base.BaseServiceImpl;
import com.yunfeisoft.business.dao.inter.OmsOrderReturnApplyDao;
import com.yunfeisoft.business.model.OmsOrderReturnApply;
import com.yunfeisoft.business.service.inter.OmsOrderReturnApplyService;
import com.applet.sql.separation.DataSourceChange;
import com.applet.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: OmsOrderReturnApplyServiceImpl
 * Description: 订单退货申请service实现
 * Author: Jackie liu
 * Date: 2020-06-02
 */
@Service("omsOrderReturnApplyService")
public class OmsOrderReturnApplyServiceImpl extends BaseServiceImpl<OmsOrderReturnApply, String, OmsOrderReturnApplyDao> implements OmsOrderReturnApplyService {

    @Override
    @DataSourceChange(slave = true)
    public Page<OmsOrderReturnApply> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}